using Cos.Core.Model.Form;

namespace Cos.Core.NHibernate
{
    public class FormCultureDataModel
    {
        
        public virtual string CompletedText { get; set; }

        public virtual string CompletedTextLive { get; set; }

        public virtual string CultureCode { get; set; }

        public virtual string EmailSubject { get; set; }

        public virtual string EmailSubjectLive { get; set; }

        public virtual int FormId { get; set; }

        public virtual int Id { get; set; }

        public virtual string Status { get; set; }

        public virtual bool IsVisibleLive { get; set; }

        public virtual bool IsVisiblePreview { get; set; }

        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return false;
            }

            var model = obj as FormCultureDataModel;

            return model != null && this.Id == model.Id;
        }

        public override int GetHashCode()
        {
            return this.Id.GetHashCode();
        }
    }
}